import tools from '@/common/tools.js'

module.exports = {
	data() {
		return {
			URL: tools.URL, //资源URL+
			noClick: true,
			isIphoneX: (() => {
				// #ifdef MP-WEIXIN
				const deviceInfo = wx.getDeviceInfo()
				return deviceInfo.platform === 'ios'
				// #endif
				// #ifndef MP-WEIXIN
				return uni.getSystemInfoSync().platform === 'ios'
				// #endif
			})()
		}
	},
	computed: {
		app() {
			return getApp().globalData
		}
	},
}